#version 120

//vehicle.frag

uniform sampler2D texMap;
varying vec2 st;
varying vec4 colour;




void main(void) {
	
	if (st.st != vec2(0,0)){
		gl_FragColor = colour * texture2D(texMap, st.st);
		
		
	}else{
		gl_FragColor = colour;
	}
	


}
